<!-- 组织/人员自动排序 -->
<template>
  <el-form-item>
    <template #label>
      <span>自动排序
        <el-tooltip effect="light" content="确认后组织/人员将自动按顺序排序">
          <svg-icon icon-class="el-info" /></el-tooltip>
      </span>
    </template>
    <el-switch v-model="optionModel.isAutoSortOrder"></el-switch>
  </el-form-item>
</template>

<script>
  import SvgIcon from '@/components/svg-icon/index.vue'
  import i18n from "@/utils/i18n"
  import propertyMixin from "@/components/form-designer/setting-panel/property-editor/propertyMixin"

  export default {
    name: "isAutoSortOrder-editor",
    mixins: [i18n, propertyMixin],
    props: {
      designer: Object,
      selectedWidget: Object,
      optionModel: Object,
    },
    components: {
      SvgIcon,
    },
  }
</script>

<style scoped>
</style>

